package com.anjubao.parking.municipal.parkinglot.mapper;


import com.anjubao.parking.municipal.parkinglot.dto.PDADto;
import com.anjubao.parking.municipal.parkinglot.form.PDAQueryForm;
import com.anjubao.parking.municipal.parkinglot.model.ParkingLotDevicePda;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ParkingLotDevicePdaMapper extends BaseMapper<ParkingLotDevicePda> {

    /**
     * 查询pda列表
     *
     * @param form 查询条件
     * @return
     */
    IPage<PDADto> getPDAs(Page<PDADto> page, PDAQueryForm form);

    Integer selectFaultCount();
}
